mcSanitizer by The MCR Company.

Version 1.4.2. Copyright ⌐  1998 by The MCR Company. All rights reserved.

http://www.geocities.com/SiliconValley/Way/7409/


mcSanitizer is an ActiveX Control that will completely erase the contents of sensitive files and documents that you specify. Normal file deletion only removes a file’s directory entry, but leaves the data contained in the file on your disk drive. mcSanitizer completely overwrites the contents of a file, then renames it and then deletes it.

mcSanitizer has the NSA approved seven-pass file erasure method. For normal file deletion operations a two-pass method should be sufficient, but if you want to thoroughly erase a file’s contents before deleting it the NSA approved method may be used.

Files and documents sanitized with mcSanitizer can not be recovered using an undelete program. The purpose of mcSanitizer is to completely remove sensitive files and their contents from you disk drive. Once a file has been sanitized it can not be recovered using sophisticated file restoration utilities.

mcSanitizer respects the DOD 5220.22-M directive for sanitizing a file on a Non-Removable Rigid Disk or a Removable Rigid Disk.

mcSanitizer can be configured to write informations directly to the disk without using the cache (better security but lower speed).


Properties     Methods      Events   

New features     Revision history

Registration

More informations


Properties

Name : returns/sets the name used in code to identify the object.

Automatic : Returns/sets if the file is resized, renamed and deleted automatically. Default is True.

BufferSize : Returns/sets the size of the buffer to be used when writing in the file. A higher value gives better performance. Default is 32768.

Char : Returns/sets the char to be used for sanitizing the file. Default is U (01010101).

FileHandle : Returns the file handle.

FileName : Returns/sets the name of the file to sanitize.

FileSize : Returns the size of the sanitized file.

LastDescriptionError : Returns the description of the last error.

LastErrorNumber : Returns the number of the last error.

Mode : Returns/sets the mode to sanitize. Mode 1 writes only the .Char property. Mode 2 is mode 1 plus .Char complement. Mode 3 is mode 2 plus random char.

NewFileName : Returns/sets the name of the file to be used when the sanitization is finished. Defaut is ~!!TMP~.TMP

Parts : Returns the number of buffers in the file.

Passages : Returns/sets the number of passages to be used to sanitize the file. Default is 7 (NSA sanitization).

TimeForChar : Returns the elapsed time to write the char (mode 1 or higher).

TimeForCharComplement : Returns the elapsed time to write the complement of the char (mode 2 or higher).

TimeForCharRandom : Returns the elapsed time to write random char (mode 3 only).

UseBuffers : Returns/sets if the write process uses the internal Windows buffer (faster) or not (slower because direct access to the disk). Default is False.

UseSameRandomBuffer : Returns/sets if the random char uses the same pattern for each buffer (faster) or not (slower).

return to the top


Methods

ForceClose : under construction.

Sanitize : Starts the sanitization of the specified file.  This method returns a code to specify if an error has occured or not (see below).

mcNoError = True
mcFileNameEmpty = 1
mcInvalidPassages = 2
mcFileNotFound = 3
mcFileIsEmpty = 4
mcInvalidBufferSize = 5
mcCantOpenFile = 6
mcCantWrite = 7
mcCantCloseFile = 8
mcCantSetSizeToZero = 9
mcCantRenameFile = 10
mcCantDeleteFile = 11
mcOtherError = 99                          'see LastErrorNumber, LastErrorDescription

Delete : This method sets the file size to zero, rename the file and delete it.  This method must be used only if the .Automatic property is set to False.  This method returns a code to specify if an error has occured or not (see above).

return to the top


Events

BeginPart, EndPart : These events occur when a part begins or ends.

BeginPassage, EndPassage : These events occur when a passage begins or ends.

BeginProcess, EndProcess : These events occur when the sanitization begins or ends.

BeginStep, EndStep : These events occur when a step begins or ends.

Error : This event occurs when an error has occured (see Sanitize method for codes) .

return to the top


Registration

To register, you need to download the file REGISTER.ZIP from my homepage.

UnZip it and start the program REGISTER.EXE.

Select the product AI12 : MCSANITIZER.

The price for a Single license is $19.95, for a Site license is $399.00 and for a World license is $1197.00

Send all informations to shareware@kagi.com.

return to the top


New features

    Version 1.4.2. :

added the .Delete method to set the file size to zero, to rename the file and to delete it.  This method must be used only if the .Automatic property is set to False.

    Version 1.2.4. :

initial release.

return to the top


Revision history

    Version 1.4.2. :

no revision.

    Version 1.2.4. :

initial release.

return to the top


More informations

goto to my homepage http://www.geocities.com/SiliconValley/Way/7409/

return to the top


Copyright ⌐ 1998 by The MCR Company. All rights reserved.